import request from '@/utils/request'

export function requestUserKeyPage(data) {
  return request({
    url: `/user/key/page`,
    method: 'post',
    data,
  })
}

export function requestUserKeySave(data) {
  return request({
    url: `/user/key/save`,
    method: 'post',
    data,
  })
}

export function requestUserKeyEdit(data) {
  return request({
    url: `/user/key/edit`,
    method: 'post',
    data,
  })
}
export function requestUserKeyDelete(data) {
  return request({
    url: `/user/key/delete`,
    method: 'post',
    data,
  })
}

export function requestUserKeyGet() {
  return request({
    url: 'user/key/get',
    method: 'get',
    loading: false,
  })
}
